home *** CD-ROM | disk | FTP | other *** search
- '============================================
- ' SHUFFLE CD PLAYER EXAMPLE
- ' Copyright(c) 1994 Larry Robert Seater
- '============================================
- ' Disclaimer of Warranty:
-
- ' This software and the accompanying files are 'as is'
- ' and without warranties as to performance of the
- ' software and the accompanying files or any other
- ' warranties whether expressed or implied.
- ' No warranty of fitness for a particular purpose
- ' is offered.
- '
- ' You may not sell this software or it's source code.
- ' You may use this code in any way you find useful.
- ' Enough said!
- '
- ' This is an example of some things I've learned
- ' about the MCI.VBX custom control from the Visual
- ' Basic Professional Edition. This is written in
- ' VB Pro 3.0 and needs to be run (I think) on the
- ' same. There may be a few bugs, but I knocked it
- ' out in a couple of hours. There are a few other
- ' tricks(?) in the code too.
- '
- ' Please if you have any comments (good or bad) or
- ' any suggestions, or want to trade code write me or
- ' E-Mail me at:
- ' AOL: LarryS8302
- '
- ' Land Mail: Larry Seater
- ' 2124 NE 36th Av.
- ' Portland, OR 97212
- '
- ' Thanks!
- '
- ' These constants are defined in mmsystem.h.
- Global Const MCIERR_INVALID_DEVICE_ID = 30257
- Global Const MCIERR_DEVICE_OPEN = 30263
- Global Const MCIERR_CANNOT_LOAD_DRIVER = 30266
- Global Const MCIERR_UNSUPPORTED_FUNCTION = 30274
- Global Const MCIERR_INVALID_FILE = 30304
- Global Const MCI_MODE_NOT_OPEN = 524
- Global Const MCI_MODE_PLAY = 526
- Global Const MCI_MODE_STOP = 525
- Global Const MCI_MODE_PAUSE = 529
- Global Const MCI_MODE_SEEK = 528
- ' MCI Time formats that support CD Audio.
- Global Const MCI_FORMAT_MILLISECONDS = 0
- Global Const MCI_FORMAT_MSF = 2
- Global Const MCI_FORMAT_TMSF = 10
-
- ' API Declaration.
- Declare Function GetFocus Lib "User" () As Integer
-
- '*** Global Variables ***
- Global DialogCaption As String
- Global Trk
- Global TotalTrk
- Global Flag
- Global NewCount
-
-